<template>
    <div class="test">
        <div>功能测试的实验室</div>
    </div>
</template>
<script>
export default {

    name: 'test',

    data() { 
        return {}
    },

    mounted() {
       this.testMockAjax();
       this.testMockAjax();
       let tthis = this;
       setTimeout(function(){
          tthis.testMockAjax();
       },3000);
    },

    methods: {
        
        testMockAjax() {
            this.$store.dispatch('testMockAjax', this).then(function(response) {
                console.log(32,response);
            });
        }
    }

};
</script>

<style scoped lang="less">
.temp {
    font-size: 10px;
}
</style>